const routes = [
  {
    path: 'store/index',
    component: () => import('@/views/store/index.vue'),
    name: 'store',
    meta: { title: '商品管理' }
  },
  {
    name: 'storeSort',
    path: 'store/sort',
    component: () => import('@/views/store/sort/index.vue'),
    meta: {
      title: '商品分类',
    }
  },
  {
    name: 'storeAttr',
    path: 'store/attr',
    component: () => import('@/views/store/attr/index.vue'),
    meta: {
      title: '商品规格',
    }
  },
  {
    name: 'storeComment',
    path: 'store/comment',
    component: () => import('@/views/store/comment/index.vue'),
    meta: {
      title: '商品评论',
    }
  },
  // {
  //   path: 'store/creatProduct/:id?/:isDisabled?',
  //   component: () => import('@/views/store/creatStore.vue'),
  //   name: 'SortCreat',
  //   meta: { title: '商品添加' },
  //   hidden: true
  // }
]

export default routes;
